﻿using SeriesManager.Model.Banner;
using System.Collections.Generic;

namespace SeriesManager.Model
{
    public class BannerBaseComparer : IComparer<BannerBaseModel>
    {
        public int Compare(BannerBaseModel x, BannerBaseModel y)
        {
            return x.Rating.CompareTo(y.Rating);
        }
    }
}
